<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();

	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>求职简历</title>
<s:include value="../../backend/include.jsp"></s:include>
<link href="<%=basePath%>front/register/style/css/Announcement.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>front/register/style/css/AddressBook.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>front/register/css/Release_css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath%>ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="<%=basePath%>js/address.js"></script>
<script src="<%=basePath%>front/register/style/SpryMenuBar.js" type="text/javascript"></script>

<script type="text/javascript">	

	//加载随机验证码
	$(document).ready(function() {    
	    $("#refresh").click(function() {   
	        var rom = new Date();  
	        $("#randomCode").attr("src", "getRandomNumber?timestamp="+rom);    
	    });
	    
	 	// 判断浏览器是否支持 placeholder
	    if(!placeholderSupport())
	    {   
	        $('[placeholder]').focus(function() {
	            var input = $(this);
	            if (input.val() == input.attr('placeholder')) {
	                input.val('');
	                input.removeClass('placeholder');
	            }
	        }).blur(function() {
	            var input = $(this);
	            if (input.val() == '' || input.val() == input.attr('placeholder')) {
	                input.addClass('placeholder');
	                input.val(input.attr('placeholder'));
	            }
	        }).blur();
	    };
	});
	
	function placeholderSupport() 
	{
	    return 'placeholder' in document.createElement('input');
	}

	/**
	 * 保存
	 */
	function save() {
		
		var r_title = document.getElementsByName("resume.r_title")[0].value;
		r_title = trimVal(r_title);
		if (r_title == "") {
			alert("标题是必填项");
			return;
		}
		if (r_title.length < 6) {
			alert("标题不能少于6位");
			return;
		}
		
		var t_name = document.getElementsByName("resume.r_name")[0].value;
		t_name = trimVal(t_name);
		if (t_name == "") {
			alert("真实姓名是必填项");
			return;
		}
		var t_bir_y = document.getElementsByName("resume.r_bir_y")[0].value;
		var t_bir_m = document.getElementsByName("resume.r_bir_m")[0].value;
		if (t_bir_y == "0000" || t_bir_m == "00") {
			alert("请选择完整出生年月");
			return;
		}
		
		var r_birthplace = document.getElementsByName("resume.r_birthplace")[0].value;
		r_birthplace = trimVal(r_birthplace);
		if (r_birthplace == "") {
			alert("户籍是必填项");
			return;
		}
		
		var r_education = document.getElementsByName("resume.r_education")[0].value;
		if (r_education == "0") {
			alert("请选择学历");
			return;
		}
		
		var r_college = document.getElementsByName("resume.r_college")[0].value;
		r_college = trimVal(r_college);
		if (r_college == "") {
			alert("毕业学校是必填项");
			return;
		}
		
		var r_political = document.getElementsByName("resume.r_political")[0].value;
		r_political = trimVal(r_political);
		if (r_political == "") {
			alert("政治面貌是必填项");
			return;
		}
		
		var tel_name = document.getElementsByName("resume.tel_name")[0].value;
		tel_name = trimVal(tel_name);
		if (tel_name == "") {
			alert("联系人是必填项");
			return;
		}
		
		var tel = document.getElementsByName("resume.tel")[0].value;
		tel = trimVal(tel);
		if (tel == "") {
			alert("联系电话是必填项");
			return;
		}
		
		var self_appraisal = document.getElementsByName("resume.self_appraisal")[0].value;
		self_appraisal = trimVal(self_appraisal);
		if (self_appraisal == "") {
			alert("自我评价是必填项");
			return;
		}
		
		var subjects = document.getElementsByName("resume.subjects")[0].value;
		subjects = trimVal(subjects);
		if (subjects == "") {
			alert("可授项目是必填项");
			return;
		}
		
		window.location = "resumeAction!save.action";
		document.forms[0].submit();
	}
</script>
</head>

<body>
<div id="topWrapper">
	<div id="top">
    	<div id="top_font">
        	<p><a href="#" target="_blank">退出</a></p>
            <p><a href="#" target="_blank">建议</a></p>
            <p><a href="#" target="_blank">邀请好友</a></p>
            <p><a href="#" target="_blank">设置</a></p>
        	<p><a href="<%=basePath%>front/preSchool/Course.jsp" target="_blank">普度首页</a></p>
        </div>
    </div>
</div>

<div class="wide">
	<div class="w960 left">
        <div class="recruit_left">
            <div class="logo"><img src="<%=basePath%>front/register/style/imgs/logo.png"/></div>
              <div class="left_Theme boder_bt">
                <strong>个人管理中心</strong>
                <p><small class="mt2"><img src="<%=basePath%>front/register/style/imgs/photo.png"/></small><em><a href="#" target="_blank">成长照片</a></em><em class="ml10"><a href="#" target="_blank">上传</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/Diary.png"/><em><a href="#" target="_blank">成长日记</a></em>&nbsp; <span class=" ml12"><a href="#" target="_blank">发表</a></span></p>
                <p><img src="<%=basePath%>front/register/style/imgs/Mood.png"/><em><a href="#" target="_blank">心&nbsp;&nbsp;&nbsp;情</a></em>  <em class=" ml12"><a href="#" target="_blank">发表</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/data.png"/><em><a href="#" target="_blank">成长数据</a></em><em class=" ml10"><a href="#" target="_blank">记录</a></em></p> 
                <p><img src="<%=basePath%>front/register/style/imgs/Commendation.png"/><em><a href="#" target="_blank">证件、奖状</a></em>  <span class=" ml8"><a href="#" target="_blank">上传</a></span></p>
            </div>
                
            <div class="left_Theme boder_bt">
                <p><img src="<%=basePath%>front/register/style/imgs/myself.png"/><em><a href="#" target="_blank">自我认识</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/Target.png"/><em><a href="#" target="_blank">目标管理</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/Plan.png"/><em><a href="#" target="_blank">计划管理</a></em></p>
            </div>
            
            <div class="left_Theme boder_bt">
                <p><img src="<%=basePath%>front/register/style/imgs/class.png"/><em><a href="#" target="_blank">我的班级</a></em><em class=" ml10"><a href="#" target="_blank">加入</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/Groups.png" /><em><a href="#" target="_blank">群&nbsp;&nbsp;&nbsp;组</a></em> <em class="ml10"><a href="#" target="_blank">创建</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/teacher.png"/><em> <a href="#" target="_blank">师者汇</a></em>&nbsp; <em class="ml10"><a href="#" target="_blank">加入</a></em></p>
          </div>
          
            <div class="left_Theme boder_bt">
                <p><img src="<%=basePath%>front/register/style/imgs/Microblogging.png"/><em><a href="#" target="_blank">微&nbsp;&nbsp;博</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/talk.png" /><em><a href="#" target="_blank">成长论坛</a></em></p>
          </div>
            
            <div class="left_Theme boder_bt">
                <p><img src="<%=basePath%>front/register/style/imgs/Vote.png"/><em><a href="#" target="_blank">投&nbsp;&nbsp;票</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/activity.png"/><em><a href="#" target="_blank">活&nbsp;&nbsp;动</a></em></p>
            </div>
            <div class="left_Theme boder_bt">
                <p><img src="<%=basePath%>front/register/style/imgs/read.png" class="mt2"/><em><a href="#" target="_blank">读&nbsp;&nbsp;书</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/Gift.png"/><em><a href="#" target="_blank">礼&nbsp;&nbsp;品</a></em></p>
                <p><img src="<%=basePath%>front/register/style/imgs/share.png"/><em><a href="#" target="_blank">共享文件</a></em></p>
            </div>
            
            <div class="left_add"><a href="#" target="_blank"><img src="<%=basePath%>front/register/style/imgs/add.png"/></a>  <a href="#" target="_blank"><img src="<%=basePath%>front/register/style/imgs/manager.png"/></a></div>
            
        </div>
        
        
    	<div class="release">
        	<div class="center_right_top">
            <div class="ml10 center_right_top_title"><a href="#" target="_blank">首&nbsp;&nbsp;&nbsp;页</a></div>

				 <ul id="MenuBar1" class="MenuBarHorizontal center_right_top_title">
                    <li><a class="MenuBarItemSubmenu fontsize" href="#">班级主页</a>
                      <ul>
                        <li><a href="#">项目 3.1</a>
                        </li>
                        <li><a href="#">项目 3.2</a></li>
                        <li><a href="#">项目 3.3</a></li>
                      </ul>
                    </li>
              </ul>
              
              <div class="center_right_top_title"><a href="#" target="_blank">空间预览</a></div>
              <div class="center_right_top_title"><a href="#" target="_blank">交际管理</a></div>
              <div class="center_right_top_title"><a href="#" target="_blank">信息管理</a></div>

            <span class="search">
                  <em class="left"><img src="<%=basePath%>front/register/style/imgs/search_left.png"/></em>
                  <em class="search_middle"><input name="" type="text" placeholder="Search" /></em>
                  <em class="left"><a href="#" target="_blank" class="left"><img src="<%=basePath%>front/register/style/imgs/search_tb.png"/></a></em>
                  <em class="search_middle_right"><img src="<%=basePath%>front/register/style/imgs/search_right.png"/></em>
              </span>
            </div>
            
            
        	<div class="release_title">
            	<p class="release_title_right"><a href="#" target="_blank" >登记为学员</a></p>
                <p class="release_title_right"><a href="#" target="_blank" >登记为老师</a></p>  
                <p class="release_title_left"><a href="#" target="_blank" >求职简历</a></p>
                <p class="release_title_right"><a href="#" target="_blank" >发布活动</a></p>
            </div>
            
            <div class="release_font">
            	<span class="left ml10"><img src="<%=basePath%>front/register/images/power.png" width="11" height="17" /></span>
            	<p>1、培训公司、培训中心/学校等教育培训机构，请注册机构账号发布信息。</p>
                <p>2、正确选择机构和个人发布信息，否则将被删除。</p>
                <p>3、发布重复信息或灌水信息，信息将会被删除，严重者将锁定帐户。</p>
                <p>若点击发布按钮,即表示您已同意普度成长网服务条款    <em><a href="#" target="_blank">查看普度成长网服务条款</a></em></p>
          </div>
          <form action="front/resumeAction!save.action" method="post">
          <div class="release_form">
          		<div class="title"><a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">标题：</em><input name="resume.r_title" class="input" type="text" /> <span class="ml10">6-25个字，不许允许填写电话和特殊符号</span></div>
       			<div class="title mt10"><a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">真实姓名：</em><input name="resume.r_name" type="text" class="others ml10" /> 
                	<a href="#" class="left mt10 ml10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">性别：</em><input type="radio" name="resume.r_sex" value="0" id="RadioGroup1_0" checked="checked"/>
                          男
                          <input type="radio" name="resume.r_sex" value="1" id="RadioGroup1_1"/>
                          女
                </div>
    
            	<div class="title mt10"><a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">出生年月：</em>
                		<select name="resume.r_bir_y">
                      	<option value="0000">请选择</option>
                        <option value="1990">1990年</option>
                        <option value="1989">1989年</option>
                        <option value="1988">1988年</option>
                        <option value="1987">1987年</option>
                        <option value="1986">1986年</option>
                        <option value="1985">1985年</option>
                        <option value="1984">1984年</option>
                        <option value="1983">1983年</option>
                        <option value="1982">1982年</option>
                        <option value="1981">1981年</option>
                        <option value="1980">1980年</option>
                    </select>
              		
                   <select name="resume.r_bir_m" class="ml10">
                    	<option value="00">请选择</option>
                		<option value="01">1月</option>
                        <option value="02">2月</option>
                        <option value="03">3月</option>
                        <option value="04">4月</option>
                        <option value="05">5月</option>
                        <option value="06">6月</option>
                        <option value="07">7月</option>
                        <option value="08">8月</option>
                        <option value="09">9月</option>
                        <option value="10">10月</option>
                        <option value="11">11月</option>
                        <option value="12">12月</option>
                    </select> 
                	<a href="#" class="left mt10 ml10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">婚姻状况：</em><input type="radio" name="resume.r_marry" value="0" id="RadioGroup1_0" checked="checked"/>
                          未婚
                          <input type="radio" name="resume.r_marry" value="1" id="RadioGroup1_1"/>
                          已婚
                </div>
                
                <div class="title mt10"><a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">户籍：</em><input name="resume.r_birthplace" class="phone" type="text" /> 
                	<a href="#" class="left mt10 ml10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">学历：</em>
                    <select name="resume.r_education">
                      	<option value="0">请选择</option>
                        <option value="1">初中</option>
                        <option value="2">高中</option>
                        <option value="3">大专</option>
                        <option value="4">本科</option>
                        <option value="5">硕士</option>
                        <option value="6">博士后</option>
                	</select>
                </div>
                
                 <div class="title mt10"><a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">毕业学校：</em><input name="resume.r_college" class="phone" type="text" /> </div>
                 
                  <div class="title mt10"><a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">是否有教师资格证：</em><input type="radio" name="resume.r_certificate" value="0" id="RadioGroup1_0" checked="checked"/>
                          是
                          <input type="radio" name="resume.r_certificate" value="1" id="RadioGroup1_1"/>
                          否
                   </div>
                <div class="title mt10"><a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">政治面貌：</em><input name="resume.r_political" class="phone" type="text" /> </div>
                	
                 <div class="title mt10">
            		<a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">联系人：</em><input name="resume.tel_name" class="phone" type="text" /> 
                	<a href="#" class="left mt10 ml10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">电话：</em><input name="resume.tel" class="phone" type="text" /> 
               		<em class="left ml10">其他电话：</em><input name="resume.tel_other" class="phone" type="text" /> 
            	</div>
                
             <div class="title mt10"><em class="left">E-mail：</em><input name="resume.email" class="phone" type="text" /> </div>
             <div class="title mt10"><em class="left">现居地：</em><input name="resume.location" class="phone" type="text" /> </div> 

            <div class="title mt10"> 
            	<a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">自我评价</em>
                  <div class="Self-evaluation"><em class="left"><textarea name="resume.self_appraisal" cols="" rows=""></textarea></em></div>
                  <a href="#" class="left mt10"><img src="<%=basePath%>front/register/images/red_tb.png"/></a><em class="left">可授科目</em>
                  <div class="Self-evaluation"><em class="left"><textarea name="resume.subjects" cols="" rows=""></textarea></em></div>
                 <em class="left">期望工作地点</em>
                  <div class="locations"><em class="left"><textarea name="resume.hope_place" cols="" rows=""></textarea></em></div>
                  
                  <div class="left">
                        <p>所获证书：</p>  
                        <p class=" pdl60">证书名称</p>
                  		<p class="title mt10"><input name="" class="phone" type="text" /><em class="ml10 input_photo"><a href="#">上传证书照片</a></em> </p>
                        <p class="title mt10"><input name="" class="phone" type="text" /><em class="ml10 input_photo"><a href="#">上传证书照片</a></em> </p>
                        <p class="title mt10"><input name="" class="phone" type="text" /><em class="ml10 input_photo"><a href="#">上传证书照片</a></em> <a href="#" class="ml10 mt4"><img src="<%=basePath%>front/register/images/add.png"/></a> </p>
                  </div>
                  
                  <div class="left mb10 w590">
                        <p>工作经验：</p>  
                        <p class="pdl60 left">时间 <em class="pdl400">工作内容</em></p>
                  		<p class="title mt10"><input name="" class="phone left" type="text" />  <input name="" class=" work_content ml60 left" type="text" /> </p>
                        <p class="title mt10"><input name="" class="phone left" type="text" />  <input name="" class=" work_content ml60 left" type="text" /> </p>
                        <p class="title mt10"><input name="" class="phone left" type="text" />  <input name="" class=" work_content ml60 left" type="text" /><a href="#" class="left ml4"><img src="<%=basePath%>front/register/images/add.png" alt="添加" /></a> </p>
                  </div>
                  
                      <div class="title mt10"><em class="left">期望薪资：</em><input name="resume.hope_salsry" class="phone" type="text" /> </div> 
                  
                                
              <div class="code">
                    <p class="fontweight">验证码:</p>
                   <p><input name="" id="randomCodeId" type="text" placeholder="以下字符不区分大小写" /></p>
                    <p> <img src="getRandomNumber" width="90" height="25" alt="验证码图片" id="randomCode" /> <em class="ml10"><a id="refresh" class="color">看不清,换一张</a></em></p>
              </div>  
            
            <div class="sumbit">
            	<em><a href="#" onclick="save()">发布</a></em>
                <em><a href="#">预览</a></em>
            </div>
            
            
            </div>
  
          </div>
             </form>
      </div>
    </div>
          <div class="clear"></div>
</div>

  <!--==底部==-->
<DIV class="clear"></DIV>
   <div class="foot">
   	  <div class=" foot_pudu">
        	 <a href="#" style=" float:left;">copright     2012All    版权所有：武汉普度教育科技有限公司</a>
             <a href="#"> 机构合作</a>
             <a href="#"> 广告</a>   
             <a href="#">友情链接</a> 
             <a href="#">意见反馈</a> 
             <a href="#">用户隐私 </a> 
        	 <a href="#">关于普度</a>
        </div>
    </div>
    
</body>
</html>
